
<div  xmlns:th="http://www.thymeleaf.org">
    <table class="table table-striped mt-3">
    <tr>
        <td>姓名</td>
        <td>性别</td>
        <td>毕业院校</td>
        <td>学历</td>
        <td>专业</td>
        <td>应聘职位</td>
        <td>工作经验</td>
        <td>登记日期</td>
        <td>简历状态</td>
        <td>操作</td>
    </tr>
    <tr th:each="info:${pageInfo.list}" >
        <td th:text="${info.name}"></td>
        <td th:text="${info.sex}"></td>
        <td th:text="${info.college}" ></td>
        <td th:text="${info.education}"></td>
        <td th:text="${info.major}"></td>
        <td th:text="${info.pName}"></td>
        <td th:text="${info.experience}"></td>
        <td th:text="${#dates.format(info.createdDate,'yyyy-dd-MM')}"></td>
        <!--简历管理展示-->
<div th:if="${attr==null || attr =='manage'|| attr ==''}">
    <span th:text="${attr}" ></span>
    <!--简历状态-->
    <td th:if="${info.status!=1 and info.status!=null}" >
            <select >
                <option th:each="statu:${resumeStatus}" th:if="${info.status==statu.valueId}" th:text="${statu.valueName}" ></option>
            </select>
        </td>
        <td th:if="${info.status==1 ||info.status==null }" >
            <select id="status"  th:onchange="'javascript:interview('+this+','+${info.id}+');'"  >
                <option th:each="statu,userStat:${resumeStatus}"  th:selected="${statu.valueId==info.status}" th:value="${statu.valueId}" th:text="${statu.valueName}"  th:if="${userStat.count <= 2 }" ></option>
            </select>
        </td>
    <!--操作-->
        <td th:if="${info.status==1||info.status==null}">
            <a th:href="@{/sys/resume/updShow(id=${info.id})}" class="update" >修改</a>
            <a th:href="@{/sys/resume/updShow(id=${info.id},view='show')}"  class="view" >明细</a>
            <a  class="del" href="javascript:;" th:onclick="'javascript:delres('+${info.id}+');'"  >删除</a>
            <a class="employ" th:if="${info.postId==null or info.postId==0}" th:id="${info.id}" href="javascript:;" th:onclick="'javascript:getId('+this+');'"  data-toggle="modal" data-target=".bs-example-modal-lg"  >应聘职位</a>
        </td>
        <td th:if="${info.status < 5 and info.status >1}">
            <a th:href="@{/sys/resume/updShow(id=${info.id},view='show')}" class="view"  >明细</a>
            <a  class="del" href="javascript:;" th:onclick="'javascript:delres('+${info.id}+');'" >删除</a>
            <a class="employ" th:if="${info.postId==null or info.postId==0}" th:id="${info.id}" href="javascript:;" th:onclick="'javascript:getId('+this+');'"  data-toggle="modal" data-target=".bs-example-modal-lg"  >应聘职位</a>
        </td>
        <td th:if="${info.status > 4}">
            <a class="view" th:href="@{/sys/resume/updShow(id=${info.id},view='show')}"  >明细</a>
        </td>
</div>
<!--面试管理展示-->
<div th:if="${attr=='interview'}">
    <!--简历状态-->
    <td  >
        <select id="status"  th:onchange="'javascript:interview('+this+','+${info.id}+');'"  >
            <option th:if="${userStat.count <= info.status+1 }" th:each="statu,userStat:${resumeStatus}"  th:selected="${statu.valueId==info.status}" th:value="${statu.valueId}" th:text="${statu.valueName}"    ></option>
        </select>
        <input type="hidden" th:value="${info.status}">

    </td>
<!--操作-->
    <td >
        <a th:href="@{/sys/resume/updShow(id=${info.id},view='ierg',cz='ms')}"  class="ierg" >面试结果登记</a>
        <a th:href="@{/sys/resume/updShow(id=${info.id},view='ierg')}"  class="view" >明细</a>
        <a  class="del" href="javascript:;" th:onclick="'javascript:delres('+${info.id}+');'"  >删除</a>
    </td>
</div>
<!--录用管理展示-->
<div th:if="${attr=='employ'}">
    <!--简历状态-->
    <td  >
        <select id="status"  th:onchange="'javascript:interview('+this+','+${info.id}+');'"  >
            <option th:if="${userStat.count >= info.status || statu.valueId==1}" th:each="statu,userStat:${resumeStatus}"  th:selected="${statu.valueId==info.status}" th:value="${statu.valueId}" th:text="${statu.valueName}"    ></option>
        </select>
        <input type="hidden" th:value="${info.status}">

    </td>
<!--操作-->
    <td >
        <a th:href="@{/sys/resume/updShow(id=${info.id},view='ierg',cz='ly')}"  class="hire" >录用登记</a>
        <a th:href="@{/sys/resume/updShow(id=${info.id},view='ierg')}"  class="view" >明细</a>
        <a  class="del" href="javascript:;" th:onclick="'javascript:delres('+${info.id}+');'"  >删除</a>
    </td>
</div>

    </tr>
</table>
    <div th:replace="common/comm :: #page ">
    </div>
</div>

